package cn.kgc.service.impl;

import cn.kgc.mapper.LoginMapper;
import cn.kgc.pojo.User_login;
import cn.kgc.service.LoginService;
import cn.kgc.util.Page;
import com.alibaba.dubbo.config.annotation.Service;

import javax.annotation.Resource;
import java.io.Serializable;
import java.util.List;
@Service
public class LoginServiceImpl implements LoginService {
    @Resource
    private LoginMapper loginMapper;
    public User_login findById(Serializable id) {
        return null;
    }

    public List<User_login> findAll() {
        return null;
    }

    public int save(User_login userlogin) {
        return 0;
    }

    public int delete(Serializable id) {
        return 0;
    }

    public int update(User_login userlogin) {
        return 0;
    }

    public List<User_login> query(Object params) {
        return null;
    }

    public Page queryByPage(Object params, Page page) {
        return null;
    }

    public User_login getLogin(String userName, String password) {
        return loginMapper.getLogin(userName,password);
    }
}
